.class Lcom/estrongs/android/taskmanager/hb;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemLongClickListener;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/TaskManager;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/TaskManager;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/hb;->a:Lcom/estrongs/android/taskmanager/TaskManager;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemLongClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)Z
    .locals 4

    const/4 v3, 0x1

    const-wide/16 v0, 0x12c

    :try_start_0
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/hb;->a:Lcom/estrongs/android/taskmanager/TaskManager;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/TaskManager;->b(Lcom/estrongs/android/taskmanager/TaskManager;)I

    move-result v0

    if-eqz v0, :cond_0

    :goto_1
    return v3

    :cond_0
    invoke-virtual {p1}, Landroid/widget/AdapterView;->getAdapter()Landroid/widget/Adapter;

    move-result-object v0

    check-cast v0, Landroid/widget/Adapter;

    invoke-interface {v0, p3}, Landroid/widget/Adapter;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/taskmanager/b/c;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/hb;->a:Lcom/estrongs/android/taskmanager/TaskManager;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/hb;->a:Lcom/estrongs/android/taskmanager/TaskManager;

    invoke-static {v2, v0}, Lcom/estrongs/android/taskmanager/b/e;->a(Lcom/estrongs/android/taskmanager/TaskManager;Lcom/estrongs/android/taskmanager/b/c;)Landroid/app/Dialog;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/estrongs/android/taskmanager/TaskManager;->a(Lcom/estrongs/android/taskmanager/TaskManager;Landroid/app/Dialog;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/hb;->a:Lcom/estrongs/android/taskmanager/TaskManager;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/TaskManager;->c(Lcom/estrongs/android/taskmanager/TaskManager;)Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    goto :goto_1

    :catch_0
    move-exception v0

    goto :goto_0
.end method
